package com.lrkj.back.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class TbEmployee implements java.io.Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer employeeId;

    private Integer departmentId;

    private String employeeNo;

    private String employeeName;

    private String employeeCode;

    private Integer employeeAge;

    private Integer employeeSex;

    private String employeeIdcard;

    private String employeeLoginname;

    private String employeePassword;

    private String employeeTel;

    private String employeePossibletel;

    private String employeeAddress;

    private String employeeMajor;

    private Integer employeeType;

    private Integer employeeAuth;

    private Integer employeeState;

    private Integer employeeWorkstate;

    private Integer employeeWorkid;

    private String employeePic;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date employeeCreatetime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date employeeBirthday;

    private String employeePoliticalOutlook;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date employeeArrivehospitalDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date employeeArrivedeptDate;

    private String employeeLicenseNumber;

    private String employeeEducation;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date employeeGraduationTime;

    private String employeeGraduateSchool;

    private String employeeEmploymentForm;

    private String employeeWorkers;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date employeePromotionTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date employeeEmployTime;

    private String employeeCetGrade;

    private Integer employeePostStatus;

    private Integer employeeFootSize;

    private String employeeGarmentSize;

    private String employeeTrousersSize;

    private String employeeSweaterSize;
    
 // 联表查询的关联属性
    private TbDepartment department;
    
    private Integer employeeSuper = 0;

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        this.employeeNo = employeeNo == null ? null : employeeNo.trim();
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName == null ? null : employeeName.trim();
    }

    public String getEmployeeCode() {
        return employeeCode;
    }

    public void setEmployeeCode(String employeeCode) {
        this.employeeCode = employeeCode == null ? null : employeeCode.trim();
    }

    public Integer getEmployeeAge() {
        return employeeAge;
    }

    public void setEmployeeAge(Integer employeeAge) {
        this.employeeAge = employeeAge;
    }

    public Integer getEmployeeSex() {
        return employeeSex;
    }

    public void setEmployeeSex(Integer employeeSex) {
        this.employeeSex = employeeSex;
    }

    public String getEmployeeIdcard() {
        return employeeIdcard;
    }

    public void setEmployeeIdcard(String employeeIdcard) {
        this.employeeIdcard = employeeIdcard == null ? null : employeeIdcard.trim();
    }

    public String getEmployeeLoginname() {
        return employeeLoginname;
    }

    public void setEmployeeLoginname(String employeeLoginname) {
        this.employeeLoginname = employeeLoginname == null ? null : employeeLoginname.trim();
    }

    public String getEmployeePassword() {
        return employeePassword;
    }

    public void setEmployeePassword(String employeePassword) {
        this.employeePassword = employeePassword == null ? null : employeePassword.trim();
    }

    public String getEmployeeTel() {
        return employeeTel;
    }

    public void setEmployeeTel(String employeeTel) {
        this.employeeTel = employeeTel == null ? null : employeeTel.trim();
    }

    public String getEmployeePossibletel() {
        return employeePossibletel;
    }

    public void setEmployeePossibletel(String employeePossibletel) {
        this.employeePossibletel = employeePossibletel == null ? null : employeePossibletel.trim();
    }

    public String getEmployeeAddress() {
        return employeeAddress;
    }

    public void setEmployeeAddress(String employeeAddress) {
        this.employeeAddress = employeeAddress == null ? null : employeeAddress.trim();
    }

    public String getEmployeeMajor() {
        return employeeMajor;
    }

    public void setEmployeeMajor(String employeeMajor) {
        this.employeeMajor = employeeMajor == null ? null : employeeMajor.trim();
    }

    public Integer getEmployeeType() {
        return employeeType;
    }

    public void setEmployeeType(Integer employeeType) {
        this.employeeType = employeeType;
    }

    public Integer getEmployeeAuth() {
        return employeeAuth;
    }

    public void setEmployeeAuth(Integer employeeAuth) {
        this.employeeAuth = employeeAuth;
    }

    public Integer getEmployeeState() {
        return employeeState;
    }

    public void setEmployeeState(Integer employeeState) {
        this.employeeState = employeeState;
    }

    public Integer getEmployeeWorkstate() {
        return employeeWorkstate;
    }

    public void setEmployeeWorkstate(Integer employeeWorkstate) {
        this.employeeWorkstate = employeeWorkstate;
    }

    public Integer getEmployeeWorkid() {
        return employeeWorkid;
    }

    public void setEmployeeWorkid(Integer employeeWorkid) {
        this.employeeWorkid = employeeWorkid;
    }

    public String getEmployeePic() {
        return employeePic;
    }

    public void setEmployeePic(String employeePic) {
        this.employeePic = employeePic == null ? null : employeePic.trim();
    }

    public Date getEmployeeCreatetime() {
        return employeeCreatetime;
    }

    public void setEmployeeCreatetime(Date employeeCreatetime) {
        this.employeeCreatetime = employeeCreatetime;
    }

    public Integer getEmployeeSuper() {
        return employeeSuper;
    }

    public void setEmployeeSuper(Integer employeeSuper) {
        this.employeeSuper = employeeSuper;
    }

    public Date getEmployeeBirthday() {
        return employeeBirthday;
    }

    public void setEmployeeBirthday(Date employeeBirthday) {
        this.employeeBirthday = employeeBirthday;
    }

    public String getEmployeePoliticalOutlook() {
        return employeePoliticalOutlook;
    }

    public void setEmployeePoliticalOutlook(String employeePoliticalOutlook) {
        this.employeePoliticalOutlook = employeePoliticalOutlook == null ? null : employeePoliticalOutlook.trim();
    }

    public Date getEmployeeArrivehospitalDate() {
        return employeeArrivehospitalDate;
    }

    public void setEmployeeArrivehospitalDate(Date employeeArrivehospitalDate) {
        this.employeeArrivehospitalDate = employeeArrivehospitalDate;
    }

    public Date getEmployeeArrivedeptDate() {
        return employeeArrivedeptDate;
    }

    public void setEmployeeArrivedeptDate(Date employeeArrivedeptDate) {
        this.employeeArrivedeptDate = employeeArrivedeptDate;
    }

    public String getEmployeeLicenseNumber() {
        return employeeLicenseNumber;
    }

    public void setEmployeeLicenseNumber(String employeeLicenseNumber) {
        this.employeeLicenseNumber = employeeLicenseNumber;
    }

    public String getEmployeeEducation() {
        return employeeEducation;
    }

    public void setEmployeeEducation(String employeeEducation) {
        this.employeeEducation = employeeEducation == null ? null : employeeEducation.trim();
    }

    public Date getEmployeeGraduationTime() {
        return employeeGraduationTime;
    }

    public void setEmployeeGraduationTime(Date employeeGraduationTime) {
        this.employeeGraduationTime = employeeGraduationTime;
    }

    public String getEmployeeGraduateSchool() {
        return employeeGraduateSchool;
    }

    public void setEmployeeGraduateSchool(String employeeGraduateSchool) {
        this.employeeGraduateSchool = employeeGraduateSchool == null ? null : employeeGraduateSchool.trim();
    }

    public String getEmployeeEmploymentForm() {
        return employeeEmploymentForm;
    }

    public void setEmployeeEmploymentForm(String employeeEmploymentForm) {
        this.employeeEmploymentForm = employeeEmploymentForm == null ? null : employeeEmploymentForm.trim();
    }

    public String getEmployeeWorkers() {
        return employeeWorkers;
    }

    public void setEmployeeWorkers(String employeeWorkers) {
        this.employeeWorkers = employeeWorkers == null ? null : employeeWorkers.trim();
    }

    public Date getEmployeePromotionTime() {
        return employeePromotionTime;
    }

    public void setEmployeePromotionTime(Date employeePromotionTime) {
        this.employeePromotionTime = employeePromotionTime;
    }

    public Date getEmployeeEmployTime() {
        return employeeEmployTime;
    }

    public void setEmployeeEmployTime(Date employeeEmployTime) {
        this.employeeEmployTime = employeeEmployTime;
    }

    public String getEmployeeCetGrade() {
        return employeeCetGrade;
    }

    public void setEmployeeCetGrade(String employeeCetGrade) {
        this.employeeCetGrade = employeeCetGrade == null ? null : employeeCetGrade.trim();
    }

    public Integer getEmployeePostStatus() {
        return employeePostStatus;
    }

    public void setEmployeePostStatus(Integer employeePostStatus) {
        this.employeePostStatus = employeePostStatus;
    }

    public Integer getEmployeeFootSize() {
        return employeeFootSize;
    }

    public void setEmployeeFootSize(Integer employeeFootSize) {
        this.employeeFootSize = employeeFootSize;
    }

    public String getEmployeeGarmentSize() {
        return employeeGarmentSize;
    }

    public void setEmployeeGarmentSize(String employeeGarmentSize) {
        this.employeeGarmentSize = employeeGarmentSize == null ? null : employeeGarmentSize.trim();
    }

    public String getEmployeeTrousersSize() {
        return employeeTrousersSize;
    }

    public void setEmployeeTrousersSize(String employeeTrousersSize) {
        this.employeeTrousersSize = employeeTrousersSize == null ? null : employeeTrousersSize.trim();
    }

    public String getEmployeeSweaterSize() {
        return employeeSweaterSize;
    }

    public void setEmployeeSweaterSize(String employeeSweaterSize) {
        this.employeeSweaterSize = employeeSweaterSize == null ? null : employeeSweaterSize.trim();
    }

	public TbDepartment getDepartment() {
		return department;
	}

	public void setDepartment(TbDepartment department) {
		this.department = department;
	}

	@Override
	public String toString() {
		return "TbEmployee [employeeId=" + employeeId + ", departmentId="
				+ departmentId + ", employeeNo=" + employeeNo
				+ ", employeeName=" + employeeName + ", employeeCode="
				+ employeeCode + ", employeeAge=" + employeeAge
				+ ", employeeSex=" + employeeSex + ", employeeIdcard="
				+ employeeIdcard + ", employeeLoginname=" + employeeLoginname
				+ ", employeePassword=" + employeePassword + ", employeeTel="
				+ employeeTel + ", employeePossibletel=" + employeePossibletel
				+ ", employeeAddress=" + employeeAddress + ", employeeMajor="
				+ employeeMajor + ", employeeType=" + employeeType
				+ ", employeeAuth=" + employeeAuth + ", employeeState="
				+ employeeState + ", employeeWorkstate=" + employeeWorkstate
				+ ", employeeWorkid=" + employeeWorkid + ", employeePic="
				+ employeePic + ", employeeCreatetime=" + employeeCreatetime
				+ ", employeeBirthday=" + employeeBirthday
				+ ", employeePoliticalOutlook=" + employeePoliticalOutlook
				+ ", employeeArrivehospitalDate=" + employeeArrivehospitalDate
				+ ", employeeArrivedeptDate=" + employeeArrivedeptDate
				+ ", employeeLicenseNumber=" + employeeLicenseNumber
				+ ", employeeEducation=" + employeeEducation
				+ ", employeeGraduationTime=" + employeeGraduationTime
				+ ", employeeGraduateSchool=" + employeeGraduateSchool
				+ ", employeeEmploymentForm=" + employeeEmploymentForm
				+ ", employeeWorkers=" + employeeWorkers
				+ ", employeePromotionTime=" + employeePromotionTime
				+ ", employeeEmployTime=" + employeeEmployTime
				+ ", employeeCetGrade=" + employeeCetGrade
				+ ", employeePostStatus=" + employeePostStatus
				+ ", employeeFootSize=" + employeeFootSize
				+ ", employeeGarmentSize=" + employeeGarmentSize
				+ ", employeeTrousersSize=" + employeeTrousersSize
				+ ", employeeSweaterSize=" + employeeSweaterSize
				+ ", department=" + department + ", employeeSuper="
				+ employeeSuper + "]";
	}
}